package com.slf4j;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class MyTest {
    /**产生日志对象*/
    private Logger  logObj = LoggerFactory.getLogger(MyTest.class);
    public MyTest(){
        logObj.trace("trace追踪");
        logObj.debug("debug调试");
        logObj.info("info信息");
        logObj.warn("warn警告");
        logObj.error("error错误");
    }
    public static void main(String[] args) {
        new MyTest();
    }
}
